﻿using RimWorld;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Verse;

namespace Miao.ArchotechFix
{
    public static class ArchotechFixPathches
    {
        public static void ChangeRobotGender_Postfix(ref Pawn __result)
        {
            if (__result.def.defName == "ChjArchDroid")
            {
                HairDef hr =  DefDatabase<HairDef>.GetNamed("FTHair");//我也搞屎山强行渲染
                __result.story.hairDef = hr;
                __result.gender = Gender.Female;
            }
        }
    }
}
